"use strict";

module.exports = (hexo) => {
    const isZh = hexo.theme.i18n.languages[0].search(/zh-CN/i) !== -1;
    if (isZh) {
        hexo.log.info(`
|---------------------------------------------------------|
|       ▓██   ██▓ ▒█████    ▄████  ▄▄▄                    |
|        ▒██  ██▒▒██▒  ██▒ ██▒ ▀█▒▒████▄                  |
|         ▒██ ██░▒██░  ██▒▒██░▄▄▄░▒██  ▀█▄                |
|         ░ ▐██▓░▒██   ██░░▓█  ██▓░██▄▄▄▄██               |
|         ░ ██▒▓░░ ████▓▒░░▒▓███▀▒ ▓█   ▓██▒              |
|          ██▒▒▒ ░ ▒░▒░▒░  ░▒   ▒  ▒▒   ▓▒█░              |
|        ▓██ ░▒░   ░ ▒ ▒░   ░   ░   ▒   ▒▒ ░              |
|        ▒ ▒ ░░  ░ ░ ░ ▒  ░ ░   ░   ░   ▒                 |
|        ░ ░         ░ ░        ░       ░  ░              |
|        ░ ░                                              |
|                    感谢使用 Yoga 主题 !                   |
|  GitHub: https://github.com/LeoHaoVIP/hexo-theme-yoga/  |
|---------------------------------------------------------|
`);
    } else {
        hexo.log.info(`
|---------------------------------------------------------|
|       ▓██   ██▓ ▒█████    ▄████  ▄▄▄                    |
|        ▒██  ██▒▒██▒  ██▒ ██▒ ▀█▒▒████▄                  |
|         ▒██ ██░▒██░  ██▒▒██░▄▄▄░▒██  ▀█▄                |
|         ░ ▐██▓░▒██   ██░░▓█  ██▓░██▄▄▄▄██               |
|         ░ ██▒▓░░ ████▓▒░░▒▓███▀▒ ▓█   ▓██▒              |
|          ██▒▒▒ ░ ▒░▒░▒░  ░▒   ▒  ▒▒   ▓▒█░              |
|        ▓██ ░▒░   ░ ▒ ▒░   ░   ░   ▒   ▒▒ ░              |
|        ▒ ▒ ░░  ░ ░ ░ ▒  ░ ░   ░   ░   ▒                 |
|        ░ ░         ░ ░        ░       ░  ░              |
|        ░ ░                                              |
|          Thank you for using Yoga theme !               |
|  GitHub: https://github.com/LeoHaoVIP/hexo-theme-yoga/  |
|---------------------------------------------------------|
`);
    }
};
